package com.wyix.domain.entity;

import lombok.Data;

import java.time.LocalDate;

/**
 * 成绩实体类
 *
 * @author wangdx
 * @since 2025/8/28
 */
@Data
public class ScoreDO {
    private Long id;
    private Long studentId; //学生ID
    private Long courseId; //课程ID
    private Double score; //分数
    private LocalDate examDate; //考试日期

    // 关联消息（非数据库字段）
    private StudentDO student; // 学生信息
    private CourseDO course; //课程信息
}
